<? global $FullUrl, $lg, $product, $products_anews, $product_comments, $videos, $certificates, $product_id,$img_products, $sales_off; ?>
<?
	$img = $FullUrl.'/'.GetImage($product['img']);	
	//$link = GetProductLinkFull($pro, $lg);
?>

<div class="main-detail-product">
  <h2>
    <?=$product['name_'.$lg]?>
  </h2>
  <div class="product-detail-short">
    <?
 // print_r($img_products);
  	if(count($img_products)>0 && $img_products != '')
	{
  ?>
    <ul id="etalage" style="padding-right:20px;">
      <?
            for($i = 0; $i < count($img_products); $i++)
			{
				$img_element = $img_products[$i]['url'];
				$img_element = "../../".$img_element;
			?>
      <li> <img class="etalage_thumb_image" src="<?=$img_element?>"> <img class="etalage_source_image" src="<?=$img_element?>"> </li>
      <?
			}
			?>
    </ul>
    <?
	}
   ?>
    <div class="detail-product-right"> <img src="<?=$img?>" height="170" alt="<?=$product['name_'.$lg]?> title="<?=$product['name_'.$lg]?>">
      <?=$product['short_'.$lg]?>
    </div>
  </div>
  <div style="width:100%; display: block; overflow: hidden; width: 635px;">
    <div class="order-product"> <a href="<?=$FullUrl?>/them-gio-hang-<?=$product['id']?>-1.html">
      <button type="submit" title="Thêm vào giỏ" class="ui-button ui-buttonCart sel-cart-add-button" id="AddToCart"> <span class="icon i-cart cartTxt">Mua hàng</span> </button>
      </a> </div>
  </div>
  <div class="product-detail">
    <?=$product['content_'.$lg]?>
  </div>
</div>
